package com.gadgets.framework.thread.exception;

import com.gadgets.framework.common.constant.ExceptionEnum;
import com.gadgets.framework.common.exception.GadgetsException;

/**
 * @author UncleXiu
 * @version V1.0.0
 * @data 2020-09-13
 *
 */
public class GadgetsTaskSubmitException extends GadgetsException {

    public GadgetsTaskSubmitException(String message, ExceptionEnum exceptionEnum) {
        super(message, exceptionEnum);
    }

    public GadgetsTaskSubmitException(Throwable cause, ExceptionEnum exceptionEnum) {
        super(cause, exceptionEnum);
    }

    public GadgetsTaskSubmitException(String errorCode, Object... args) {
        super(ExceptionEnum.BUSI_ERROR, errorCode, args);
    }

}
